package com.rockxin.cat.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * <b>类名称：    LendRecordBean             <br/>
 * <b>类描述：                        <br/>
 * <b>创建人：    Lans               <br/>
 * <b>创建时间：  2018/3/2 13:40     <br/>
 * <b>修改人：                        <br/>
 * <b>修改时间：                      <br/>
 * <b>修改备注：                      <br/>
 *
 * @version 1.0.0 <br/>
 */
public class LendRecordBean implements Parcelable {

    /**
     * id : 507
     * name : 20180122-06测试加息劵
     * repay_time : 3
     * deal_status : 4
     * repay_money : 0
     * repay_date : 2018-02-22
     */

    private String num;
    private String id;
    private String name;
    private String repay_time;
    private String deal_status;
    private String repay_money;
    private String repay_date;

    public LendRecordBean() {
    }

    protected LendRecordBean(Parcel in) {
        num = in.readString();
        id = in.readString();
        name = in.readString();
        repay_time = in.readString();
        deal_status = in.readString();
        repay_money = in.readString();
        repay_date = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(num);
        dest.writeString(id);
        dest.writeString(name);
        dest.writeString(repay_time);
        dest.writeString(deal_status);
        dest.writeString(repay_money);
        dest.writeString(repay_date);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<LendRecordBean> CREATOR = new Creator<LendRecordBean>() {
        @Override
        public LendRecordBean createFromParcel(Parcel in) {
            return new LendRecordBean(in);
        }

        @Override
        public LendRecordBean[] newArray(int size) {
            return new LendRecordBean[size];
        }
    };

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRepay_time() {
        return repay_time;
    }

    public void setRepay_time(String repay_time) {
        this.repay_time = repay_time;
    }

    public String getDeal_status() {
        return deal_status;
    }

    public void setDeal_status(String deal_status) {
        this.deal_status = deal_status;
    }

    public String getRepay_money() {
        return repay_money;
    }

    public void setRepay_money(String repay_money) {
        this.repay_money = repay_money;
    }

    public String getRepay_date() {
        return repay_date;
    }

    public void setRepay_date(String repay_date) {
        this.repay_date = repay_date;
    }
}
